import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import ElementPlus from "element-plus";
import "./assets/base.css";
import "./assets/theme.less";
import "element-plus/dist/index.css";
import { createPinia } from "pinia";
import { setupRightClickDirective, customRightMenu } from "./directive/contextmenu";

const app = createApp(App);

const pinia = createPinia();

setupRightClickDirective(app, true);

customRightMenu()

app.use(router).use(ElementPlus).use(pinia).mount("#app");
